<!-- Teacher_ToDoMessageWin.html -->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>老师端待办事宜消息列表</title>
		<link rel="stylesheet" href="../../css/mui.min.css">
<!--		<link rel="stylesheet" href="../../css/CFNetPP_Base.css">-->
		<link rel="stylesheet" href="../../css/base.css">
	</head>
	<body>
		<div id='BarAppearance' ></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar">
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span>消息</span>
			<a class="base_right_item base_hide_item"> </a>
		</div>
	</body>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script src="../../script/ui.js"></script>
	<script type="text/javascript">
		apiready = function() {
			initHeaderUI();
			setupSubframe();
			sendBuriedNotifi('0','老师端消息列表','156');
		}
		function sendBuriedNotifi(busionessid, pagetype, pagetypeid) {
			var userinfo = {
				uid : $api.getStorage('cfnetppuid'),
				jid : $api.getStorage('cfnetppjxid'),
				uname : $api.getStorage('cfnetppusername'),
				cid : api.pageParam.cid,
				pid : api.pageParam.pid,
				vid : api.pageParam.chapterid
			}
			var data = {
				busionessid : busionessid,
				pagetype : pagetype,
				pagetypeid : pagetypeid,
				sourceurl : api.pageParam.sourceurl,
				sourcetitle : api.pageParam.sourcetitle,
				accesspageurl : window.location.pathname,
				accesspagetitle : document.title,
				userinfo : userinfo
			}
			SendBehaviorTrajectoriesNotifi_Study(data);
		}

		function setupSubframe() {
			var y = $('#BarAppearance').height() + $('.base_navigation_bar').height();
			var h = api.winHeight - y;
			api.openFrame({
				name : 'Teacher_ToDoMessage',
				url : 'Teacher_ToDoMessage.html',
				rect : {
					x : 0,
					y : y,
					w : 'auto',
					h : h
				},
				bounces : false,
				pageParam : {
					cid : api.pageParam.cid,
					sourceurl : api.pageParam.sourceurl,
					sourcetitle : api.pageParam.sourcetitle,
					accesspageurl : window.location.pathname,
					accesspagetitle : document.title,
				}
			});
		}

		function backClick() {
		sendBuriedNotifi('1','老师端消息列表','156');
		  api.sendEvent({
          name: 'pushMessage_index'
         });
			api.closeWin();
		}
	</script>
</html>